package org.bluebee.billiardsbar.entity;

public class Sparring {
	private String SparringId;
	private String name;
	private String sex;
	private String tele;
	public String getSparringId() {
		return SparringId;
	}
	public void setSparringId(String sparringId) {
		SparringId = sparringId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getTele() {
		return tele;
	}
	public void setTele(String tele) {
		this.tele = tele;
	}
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((SparringId == null) ? 0 : SparringId.hashCode());
		return result;
	}
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Sparring other = (Sparring) obj;
		if (SparringId == null) {
			if (other.SparringId != null)
				return false;
		} else if (!SparringId.equals(other.SparringId))
			return false;
		return true;
	}
	public Sparring(String sparringId, String name, String sex, String tele) {
		super();
		SparringId = sparringId;
		this.name = name;
		this.sex = sex;
		this.tele = tele;
	}
	public Sparring() {
		super();
	}
	
}
